package com.soccertgc.comm
{
	import flash.utils.Dictionary;

	public class CallSequenceCompletedEvent extends CallSequenceEvent
	{
		
		// -------------------------------------------------------------------------------
		// CONSTANTS
		// -------------------------------------------------------------------------------
		
		public static const		COMPLETED:String			= "sequence_completed";
		
		// -------------------------------------------------------------------------------
		// FIELDS
		// -------------------------------------------------------------------------------
		
		private var _results:Dictionary;
		
		// -------------------------------------------------------------------------------
		// CONSTRUCTOR
		// -------------------------------------------------------------------------------
		
		public function CallSequenceCompletedEvent(sequence:CallSequence, results:Dictionary)
		{
			// Ancestor constructor
			super(COMPLETED, sequence);
			// Initialization
			_results = results;
		}
		
		// -------------------------------------------------------------------------------
		// PROPERTIES
		// -------------------------------------------------------------------------------
		
		/**
		 * List of the results for each call. Organized as a dictionary of url=results
		 * @return 
		 * 
		 */		
		public function get results():Dictionary
		{
			return _results;
		}

	}
}